package com.ec.system.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ec.core.mybatis.entity.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:
 * @author: Eric Lee
 * @time: 2021/7/20 17:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("ec_system_post")
public class SysPost extends TenantEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 指定自增策略
     */
    @TableId(value = "post_id", type = IdType.ASSIGN_ID)
    private Long postId;
    private String postName;
    private String postCode;
    private String postDesc;
    private Integer postSort;
}
